package com.tencreat.domain.pt.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author huang wei
 * @version 1.0
 * @date 2021/12/24 21:50
 */
@Data
public class ResAdminPtHistoryVo extends ResAdminPtInfoVo {

    @ApiModelProperty(value = "拼团id")
    private Long id;

    @ApiModelProperty(value = "期数")
    @Excel(name = "期数")
    private Integer periods;

    @Excel(name = "开奖时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开奖时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime drawTime;
}
